projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dba6fcf
)
mmc: it's safe to ignore mmc_send_if_cond() return value
author
Ilya Yanok
<
[email protected]
>
Thu, 14 May 2009 10:03:09 +0000
(14:03 +0400)
committer
Wolfgang Denk
<
[email protected]
>
Wed, 3 Jun 2009 22:15:09 +0000
(
00:15
+0200)
Return value of mmc_send_if_cond() can be safely ignored (as it is
done in Linux). This makes older cards work with MXC MCI controller.
Signed-off-by: Ilya Yanok <
[email protected]
>
drivers/mmc/mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc.c
b/drivers/mmc/mmc.c
index 7791c3896e98a00461bda3d4f18bb55d599bad82..27116bf2bcfcbd62d42863750895d6e77d32a405 100644
(file)
--- a/
drivers/mmc/mmc.c
+++ b/
drivers/mmc/mmc.c
@@
-867,10
+867,6
@@
int mmc_init(struct mmc *mmc)
/* Test for SD version 2 */
err = mmc_send_if_cond(mmc);
- /* If we got an error other than timeout, we bail */
- if (err && err != TIMEOUT)
- return err;
-
/* Now try to get the SD card's operating condition */
err = sd_send_op_cond(mmc);